OUTNAME = game_of_life
CC = mpic++
FLAGS = -fopenmp -Wall
OBJECTS = Master.o Test.o BlockStorage.o DataServer.o Block.o Slave.o Utils.o

all: $(OBJECTS)
	$(CC) $(FLAGS) $(OBJECTS) -o $(OUTNAME)

%.o: %.cpp
	$(CC) $(FLAGS) -c $<

clean:
	rm -f *.o

distclean:
	rm -f *.o
	rm -f $(OUTNAME)
